import getData from './request.js';
// 货主
// 货运信息列表
export const shipList = (params)=>getData('Index/shipList',params);
// 发布货运信息
export const addship = (params)=>getData('Index/addship',params);
// 取消货运信息、确认送达
export const indexOperate = (params)=>getData('Index/indexOperate',params);
// 货运信息详情
export const shipInfo = (params)=>getData('Index/shipInfo',params);
// 报价记录
export const offerList = (params)=>getData('Index/offerList',params);

// 司机
// 货运信息列表 
export const shipList2 = (params)=>getData('Accept/shipList',params);
// 车队
export const carList = (params)=>getData('Accept/carList',params);
// 保存车辆信息
export const addcar = (params)=>getData('Accept/addcar',params);
// 车辆详情 
export const carInfo = (params)=>getData('Accept/carInfo',params);
// 提交报价 
export const addorder = (params)=>getData('Accept/addorder',params);
// 支付信息费 
export const offerPay = (params)=>getData('Accept/offerPay',params);
// 取消订单 
export const canseloffer = (params)=>getData('Accept/canseloffer',params);
// 更新位置信息
export const change_info = (params)=>getData('Accept/changeInfo',params);



// 个人信息
export const userInfo = (params)=>getData('User/index',params);
// 微信登录
export const weiLogin = (params)=>getData('Regist/weiLogin',params);
// 平台信息
export const platformInfo = (params)=>getData('User/about',params);
// 修改个人信息 
export const changeInfo = (params)=>getData('User/changeInfo',params);
